import axios from "axios";
import React, { use, useDebugValue, useId, useState } from "react";
import './index.scss'


function App() {

    // useId 用来生成一个唯一的 id 用的
    const myid = useId()
    const radioid = useId()

    return <div>
        <h1>App</h1>
        {/* <button id={myid} onClick={() => { }}>求点击</button> */}

        <label htmlFor={myid}> 账号 </label>
        <input type="text" id={myid} placeholder="请输入账号" />

        <input type="radio" id={radioid} />
        <label htmlFor={radioid}> 是否同意 </label>
    </div>
}


export default App